/****** Object:  Stored Procedure dbo.spr_LoadAllDBClientVisas  ******/

 use [TourIS]
 GO

 if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spr_LoadAllDBClientVisas]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
 drop procedure [dbo].[spr_LoadAllDBClientVisas]
 GO

 SET QUOTED_IDENTIFIER OFF
 GO
 SET ANSI_NULLS OFF
 GO

 CREATE  PROCEDURE [dbo].[spr_LoadAllDBClientVisas]
 AS

 BEGIN
	SET NOCOUNT ON
	DECLARE @Err int

	SELECT
		[AppDate],
		[AppResDate],
		[ClientId],
		[CompId],
		[EmpExtProcessedBy],
		[EmpProcessedBy],
		[EnteredBy],
		[EntryDate],
		[ExtAppDate],
		[ExtendedDays],
		[ExtPrice],
		[ExtResDate],
		[FromDate],
		[IsApproved],
		[IsExtApproved],
		[Price],
		[TillDate],
		[VisaID],
		[VisaSerial],
		[VisaTypeId]
		FROM [ClientVisa]

	SET @Err = @@Error
	RETURN @Err
 END

 GO

 SET QUOTED_IDENTIFIER OFF
 GO
 SET ANSI_NULLS ON
 GO

